package com.eschool.model;

import java.sql.Timestamp;
import java.util.Date;

public class ForumPost {
	private int postId;
	private User user;
	private String message;
	private Timestamp postTime;
	private ForumPost parentPost;
	private String subject;
	
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public int getPostId() {
		return postId;
	}
	public void setPostId(int postId) {
		this.postId = postId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Timestamp getPostTime() {
		return postTime;
	}
	public void setPostTime(Timestamp date) {
		this.postTime = date;
	}
	public ForumPost getParentPost() {
		return parentPost;
	}
	public void setParentPost(ForumPost parentPost) {
		this.parentPost = parentPost;
	}
}
